﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/TemplateAdmin.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<MvcVehicleInsurance.Models.Account>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2 class="ico_mug">Account</h2>

    <table>
        <tr>
            <th></th>
        
            <th>
                Acc_Username
            </th>
            <th>
                Acc_Password
            </th>
            <th>
                Acc_FullName
            </th>
            <th>
                Acc_Gender
            </th>
            <th>
                Acc_Phone
            </th>
            <th>
                Acc_Address
            </th>
            <th>
                Acc_Email
            </th>
         
        </tr>

    <% foreach (var item in Model) { %>
    
        <tr>
            <td>
                <%: Html.ActionLink("Edit", "Edit", new { id=item.Acc_ID }) %> |
                <%: Html.ActionLink("Details", "Details", new { id=item.Acc_ID })%> |
                <%: Html.ActionLink("Delete", "Delete", new { id=item.Acc_ID })%>
            </td>
       
            <td>
                <%: item.Acc_Username %>
            </td>
            <td>
                <%: item.Acc_Password %>
            </td>
            <td>
                <%: item.Acc_FullName %>
            </td>
            <td>
                <%: item.Acc_Gender %>
            </td>
            <td>
                <%: item.Acc_Phone %>
            </td>
            <td>
                <%: item.Acc_Address %>
            </td>
            <td>
                <%: item.Acc_Email %>
            </td>
    
        </tr>
    
    <% } %>

    </table>

    <p>
        <%: Html.ActionLink("Create New", "Create") %>
    </p>

</asp:Content>

